﻿@model MegaBitProject.ViewModels.Profile
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="main">
    <div id="otherUserID">
        <h1>You are now viewing user "<span>@Model.userName</span>"</h1>

        <div id="picPack">
            <img id="otherUserImg" src="/Content/SitePics/avatar.jpg" />

            <h2>@Model.userName</h2>
        </div>
        <dl>
            <dt>Username: </dt>
            <dd>@Model.userName</dd>
            <dt>E-mail: </dt>
            <dd>@Model.email</dd>
            <dt>Score: </dt>
            <dd>@Model.score</dd>
            <dt>W/L:</dt>
            <dd>@Model.wins/@Model.losses</dd>
            <dt>W/L ratio:</dt>
            <dd>@Model.wlRatio</dd>
            <dt>Total Games: </dt>
            <dd>@Model.total</dd>
        </dl>
        <div id="reportUser">
            @Html.ActionLink("Report User", "Ban/" + Model.userName, "Account")
        </div>
    </div>
</div>